﻿<?php
ignore_user_abort(TRUE);
require_once("./interface.php");
require_once("./utils.php");
require_once("./interface.php");
require_once("./TechnicFunc.php");
require_once("./SoldierFunc.php");
require_once("./HotelFunc.php");
require_once("./OfficeFunc.php");
require_once("./MarketFunc.php");
require_once("./UnionFunc.php");
require_once("./StoreFunc.php");
require_once("./TroopFunc.php");
require_once("./global.php");
require_once("./report.php");

//mysql_connect()函数
$con = mysql_connect("127.0.0.1","root","111111");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }

mysql_select_db("sanguo1", $con);//链接数据库
/*
$i=0;
while($i<=10000)
  {
   include './bin_rank.php';
   sleep(3600);
  $i=$i+1;
  }
  */

mysql_query("DROP TABLE IF EXISTS sys_user_cityresource");

$sql = "CREATE TABLE sys_user_cityresource 
(
cid int(11),
uid int(11),
people int(32)
)";
mysql_query($sql,$con);
 mysql_close($con);
?>



